package com.niubi.yygh.hosp.service;

import com.niubi.yygh.model.hosp.Schedule;
import com.niubi.yygh.vo.hosp.ScheduleOrderVo;
import org.springframework.data.domain.Page;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface ScheduleService {
  void saveSchedule(Map<String, Object> map);

  Page<Schedule> selectPage(int page, int limit);

  void remove(String hoscode, String hosScheduleId);

  Map<String, Object> getScheduleRule(long page, long limit, String hoscode, String depcode);

  List<Schedule> getDetailSchedule(String hoscode, String depcode, String workDate);

  Map<String, Object> getBookingScheduleRule(Integer page, Integer limit, String hoscode, String depcode);

  Schedule getById(String id);

  ScheduleOrderVo getScheduleOrderVo(String scheduleId);

  void updateSchedule(Schedule schedule);
}